package net.pugsplace.gpremacy.rules;

import java.io.Serializable;

/**
 * This represents a particular unit of type UnitType. There is one of these for
 * each unit in play, while only one UnitType per type in existence.
 */
public interface Unit extends Serializable {
	/** Returns the customizable name of the unit */
	public String getName();

	/** The owner ID of this unit */
	public int getOwnerCountryId();

	/** Returns the "type" of unit, such as "Soldier" */
	public UnitType getType();

	/** Change the unit's customizable name */
	public void setName(String newName);
}
